﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Agent
{


    public class RootKouling
    {
       // public double tkRate{get;set;}
        //public string activityIdUrl{get;set;}

        //public string tkPassword{get;set;}

        //public string shortUrl { get; set; }
        /// <summary>
        /// 阿里妈妈数字ID
        /// </summary>
        public long alimamaid { get; set; }

        /// <summary>
        /// 产品ID
        /// </summary>
        public long auctionid { get; set; }

        /// <summary>
        /// 定向计划类型
        /// </summary>
        public int includeDxjh { get; set; }

        /// <summary>
        /// 佣金比例
        /// </summary>
        public double tkRate { get; set; }

        /// <summary>
        /// 优惠券地址
        /// </summary>
        public string activityIdUrl { get; set; }

        /// <summary>
        /// 优惠券短连接
        /// </summary>
        public string activityIdshortUrl { get; set; }

        /// <summary>
        /// 优惠券淘口令
        /// </summary>
        public string activityIdtkPassword { get; set; }

        /// <summary>
        /// 普通短连接
        /// </summary>
        public string shortLinkUrl { get; set; }

        /// <summary>
        /// 普通淘口令
        /// </summary>
        public string taoToken { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createTime { get; set; }

    }

  public class Kouling{
      public RootKouling data{get;set;}
  }

    public class PageListItem
    {

      
        
        public int userType { get; set; }
       
        public string shopTitle { get; set; }
      
        public string pictUrl { get; set; }
    
        public long auctionId { get; set; }
    
        public string title { get; set; }
       
    
     
        public double zkPrice { get; set; }
     
        public double couponAmount { get; set; }
   
        public string auctionUrl { get; set; }
     
        public string couponLink { get; set; }
       
        public int biz30day { get; set; }
        /// <summary>
        /// 高佣计划佣金比例，null传0
        /// </summary>
        public string eventRate { get; set; }
        /// <summary>
        /// 是否有定向计划
        /// </summary>
        public int includeDxjh { get; set; }
        /// <summary>
        /// 通用计划佣金比例
        /// </summary>
        public string tkRate { get; set; }
        public object tkSpecialCampaignIdRateMap { get; set; }

        public string couponEffectiveStartTime { get; set; }
       
        public string couponEffectiveEndTime { get; set; }

        public int couponLeftCount { get; set; }
    }



    public class Data
    {

        public List<PageListItem> pageList { get; set; }

    }


    public class TbProduct
    {

        public Data data { get; set; }

    }
}